#
# Ruby Gem specification for STemp
#
# STemp - Secure tempfile extension for Ruby
#
# Author:: Cian Synnott <cian@nospam@gmail.com>
# Copyright:: Copyright (c) 2006 Cian Synnott
# License:: MIT License
#
# For license info, see the README file bundled with this package.
# 
# $Id: ruby-stemp.gemspec 8 2006-11-15 18:26:47Z cian $
#

require 'rubygems'

SPEC = Gem::Specification.new do |s|
  s.name             = 'ruby-stemp'
  s.version          = '1.1'
  s.author           = 'Cian Synnott'
  s.email            = 'cian@nospam@gmail.com'
  s.homepage         = 'http://code.google.com/p/ruby-stemp'
  s.summary          = 'Secure tempfile extension for Ruby'
  candidates         = Dir.glob('{ext,test}/**/*')
  s.files            = candidates.delete_if do |item|
                         item.include?('svn')
                       end
  s.require_path     = '.'
  s.autorequire      = 'stemp'
  s.test_file        = 'test/ts_stemp.rb'
  s.has_rdoc         = true
  s.extra_rdoc_files = ['README']
  s.rdoc_options     = ['--main', 'README']
  s.extensions       = ['ext/extconf.rb']
end

if $0 == __FILE__
  Gem::manage_gems
  Gem::Builder.new(spec).build
end
